<?php
include('common_include.php');
require_once('lib/util/emailUtil.php');

$name = $_POST['enquirerName'];
$enquiry = $_POST['enquiry'];
$email = $_POST['email'];
$telephone = $_POST['telephone'];
$facsimile = $_POST['facsimile'];

// Init EmailObj from Jackey and then to call and make it work. 
sendEnquiryEmail($name, $email, $telephone, $enquiry, $facsimile);
header("Location: enquirySuccessPage.php?msg=Thanks for your feedback! Your feedback is valuable to us.");

?>